<@user.user_html>
    
    <div class="clear"></div>
	

    <div class="swarp">
    	<#-- 嵌入导航-->
		<#include "/WEB-INF/content/include/user/app.ftl">
        <div class="srightwarp">
        	<div class="xwarp" style=" margin:0px; width:750px; overflow:hidden;">

                <div class="xtitle">
                    <div class="clear"></div>
                </div>
                <div class="xbody Pbody" style=" width:748px; margin:0px; padding:0px;">
            		
					<table>
                    	<colgroup width="20%"></colgroup>
                        <colgroup width="80%"></colgroup>

                        <thead>
                    	<tr>
                        	<th>收信人:</th>
                            <td>${(sender.user.loginName)!}</td>
                        </tr>
                        </thead>

                    </table>
                    <div class="star_save"></div>
                    
                    <form action="${base}/user/message/index!save" method="post" id="saveForm">
                    	<input name="receiverId" type="hidden" value="${(receiverId?c)!}"/>
                    <div class="comment">
						<div class="clear"></div>
						<div >标题:<input name="title" type="text" id="title"/>
							<span id="titleTip"></span>
						</div><br/>
						<div class="comsend">
							<textarea name="content" id="mode_content" class="t" style="width:470px; height:160px; float:left;"></textarea>
							<span id="mode_contentTip">限300字符</span>
							<input name="" type="submit" class="sm" value="发 送"/>
							<p></p>
						</div>
					</div>
					</form>
                    <div class="star_save"></div>
                   
            	</div>
            </div>
        </div>
        <div class="clear"></div>
    </div>
    <link type="text/css" rel="stylesheet" href="${statics}/scripts/jquery/formValidator3.3/style/validator.css"/>
	<script type="text/javascript" src="${statics}/scripts/jquery/formValidator3.3/formValidator_min.js" charset="UTF-8"></script>
	<script type="text/javascript" src="${statics}/scripts/jquery/formValidator3.3/formValidatorRegex.js"  charset="UTF-8"></script>
	<script type="text/javascript">
	$(document).ready(function(){
		$.formValidator.initConfig({formid:"saveForm",onerror:function(msg){},onsuccess:function(){return true;}});					
		$("#title")
		.formValidator({onshow:"请输入标题",onfocus:"请输入标题",oncorrect:""})
		.inputValidator({min:1,max:50,onerror:"公告中文名称为1-50位字符,1个汉字算2位字符,请确认"});
		$("#mode_content")
		.formValidator({onshow:"请输入内容",onfocus:"请输入内容",oncorrect:""})
		.inputValidator({min:1,max:300,onerror:"公告中文名称为1-50位字符,1个汉字算2位字符,请确认"});
	});
	
	</script>
</@user.user_html>


